import {describe} from 'mocha'
import process from "process";
import * as callback from '../src/callback'
import {expect} from "chai";


describe('测试', () => {

    it('测试callbackurl',  () => {
        process.env['FLOW_OPENAPI_URL']="https://flow.aliyun.com"
        process.env['FLOW_JOB_TOKEN']="aaaa"
        var callbackUrl = callback.callbackUrl();
        expect(callbackUrl).equal("https://flow.aliyun.com/openapi/jobs/aaaa/callback")

    })



})